package logic.threadSafe;


import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class CounterTest {
	private static final Logger log=LogManager.getLogger(CounterTest.class);
	public static void main(String[] args) {
		new Counter().increment();
		log.info("the increment num is {}",new Counter().increment());
		try{
			int i=10/0;
		}catch (Exception e) {
			log.catching(e);		
		}

	}
}
